home *** CD-ROM | disk | FTP | other *** search
/ Nejlepší hry / Nejlepsi hry.iso / hry / 6zenichu / 6+1 install_txt.exe / 6 zenichu a 1 navic.exe / scripts / DefineButton2_4685 / BUTTONCONDACTION on(release).as next >
Encoding:
Text File  |  2003-11-28  |  571 b   |  26 lines

  1. on(release){
  2.    if(0 < _root.draglej)
  3.    {
  4.       _root.d_venca.l = "mon_ns_" add random(_root.NS_NUMBER) add "_100";
  5.       _root.d_venca.i = "go";
  6.       _root.stopdragall();
  7.       _root.hideall();
  8.    }
  9.    else if(_root.ii6 == 0)
  10.    {
  11.       _root.ii6 = 1;
  12.       _root.itembar_add(6);
  13.       _root.d_venca.l = "mon_049_100";
  14.       _root.d_venca.i = "go";
  15.       _root.stopdragall();
  16.       _root.hideall();
  17.    }
  18.    else
  19.    {
  20.       _root.d_venca.l = "mon_050_100";
  21.       _root.d_venca.i = "go";
  22.       _root.stopdragall();
  23.       _root.hideall();
  24.    }
  25. }
  26.